<% #endcoding:utf-8%>
<div class="panel">
  <div class="panel-heading">评价咨询师</div>
  <div class="panel-body">
    <h3 class="demand-top">订单详情</h3>
    <h3><%=@demand.projects%></h3>
    <p><%=@demand.description%></p>
    <p>咨询师：<%=link_to @user.name,"/usercard/"+@user.id.to_s%></p>
    <%=form_for @evaluater do |f|%>
    <div class="form-group">
      <%=f.text_area :comment,:class=>"form-control"%>
      <%=f.hidden_field :evaluater_id,:value=>@demand.user_id%>
      <%=f.hidden_field :evaluated_id,:value=>@user.id%>
      <%=f.hidden_field :demand_id,:value=>@demand.id%>
    </div>
        <%=f.submit "提交评价",:class=>"btn btn-default"%>
    <%end%>
  </div>
</div>
